/**
 * Author: Dmitry Ustimov
 * Date: 5/31/13
 * Time: 8:12 PM
 */

package com.gmail.dmitryustimov.ms.java7.mediator.mod.work.demo.col10event1;

import com.gmail.dmitryustimov.ms.java7.patternslib.mediator.Colleague;
import com.gmail.dmitryustimov.ms.java7.patternslib.mediator.EventPublisher;

public abstract class AbstractColleague implements Colleague {

    protected String name;

    protected EventPublisher<Event1> event1Publisher = new EventPublisher<>();

    public EventPublisher<Event1> getEventPublisher() {
        return event1Publisher;
    }

    public void setEventPublisher(EventPublisher<Event1> eventPublisher) {
        this.event1Publisher = eventPublisher;
    }

    public abstract void makeEvent();
}
